package models;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

import javax.persistence.Id;

import com.google.appengine.api.datastore.Text;
import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

@SuppressWarnings("serial")
@Cached
public class Domain implements Serializable{
	@Id private String domain = "";
	@Unindexed private String title = "";
	@Unindexed private Text keywords=null;
	@Unindexed private Text popularKeyword=null;
	@Unindexed private Text description = null;
	@Unindexed private Text des = null;
	@Unindexed private int google = 0;
	@Indexed private int alexa = 0;
	@Indexed private int sex = 0;
	@Unindexed private Text whois = null;
	@Unindexed private Text header = null;
	@Unindexed private Text dns = null;
	@Unindexed private Text trace = null;
	@Unindexed private String age = "";
	@Indexed private String adsense = "";
	@Indexed private String analytic = "";
	@Unindexed private String server = "";
	@Unindexed private String language = "";
	@Unindexed private String js = "";
	@Unindexed private ArrayList<String> outLink = new ArrayList<String>();
	@Indexed private String ip = "";
	@Indexed private String start = "";
	@Indexed private Date date = new Date();
	@Unindexed private String otherDomain = "";
	public String getStart() {
		return start;
	}
	public void setStart(String start) {
		this.start = start;
	}
	public String getOtherDomain() {
		return otherDomain;
	}
	public void setOtherDomain(String otherDomain) {
		this.otherDomain = otherDomain;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public Text getDes() {
		return des;
	}
	public void setDes(Text des) {
		this.des = des;
	}
	public Text getPopularKeyword() {
		return popularKeyword;
	}
	public void setPopularKeyword(Text popularKeyword) {
		this.popularKeyword = popularKeyword;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Text getKeywords() {
		return keywords;
	}
	public void setKeywords(Text keywords) {
		this.keywords = keywords;
	}
	public Text getDescription() {
		return description;
	}
	public void setDescription(Text description) {
		this.description = description;
	}
	public int getGoogle() {
		return google;
	}
	public void setGoogle(int google) {
		this.google = google;
	}
	public int getAlexa() {
		return alexa;
	}
	public void setAlexa(int alexa) {
		this.alexa = alexa;
	}
	public Text getWhois() {
		return whois;
	}
	public void setWhois(Text whois) {
		this.whois = whois;
	}
	public Text getHeader() {
		return header;
	}
	public void setHeader(Text header) {
		this.header = header;
	}
	public Text getDns() {
		return dns;
	}
	public void setDns(Text dns) {
		this.dns = dns;
	}
	public Text getTrace() {
		return trace;
	}
	public void setTrace(Text trace) {
		this.trace = trace;
	}
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}
	public String getAdsense() {
		return adsense;
	}
	public void setAdsense(String adsense) {
		this.adsense = adsense;
	}
	public String getAnalytic() {
		return analytic;
	}
	public void setAnalytic(String analytic) {
		this.analytic = analytic;
	}
	public String getServer() {
		return server;
	}
	public void setServer(String server) {
		this.server = server;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getJs() {
		return js;
	}
	public void setJs(String js) {
		this.js = js;
	}
	public ArrayList<String> getOutLink() {
		return outLink;
	}
	public void setOutLink(ArrayList<String> outLink) {
		this.outLink = outLink;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
}
